#include <iostream>
using namespace std;

int main(int argc, char *argv[])
{
	double a,b;
	char s;
	cin>>a>>b>>s;
	switch (s){
		case '+':
			cout<<1.0*a+b;
			break;
		case '-':
			cout<<1.0*a-b;
			break;
		case '*':
			cout<<1.0*a*b;
			break;
		case '/':
			if(b==0){
			cout<<"Divided by zero!"<<endl;}
			else{
			cout<<int(a/b);}
			break;
		default:
			cout<<"Invalid operator!";
			break;
	}
	return 0; 
}
